package com.indexingsystem.boss.Vo;


import java.io.Serializable;


public class OrderProductBugVo implements Serializable
{

    /**
     * 
     */
    private static final long serialVersionUID = 5948543203113285L;

    private String orderProductId;

    private String orderId;

    private String productId;

    private String productName;

    private String beginYear;

    private String endYear;

    private String reserveEndDate;

    private String price;

    private Integer ResCategoryNum;

    private String createTime;

    private String updateTime;

    public String getProductId()
    {
        return productId;
    }

    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductName()
    {
        return productName;
    }

    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getBeginYear()
    {
        return beginYear;
    }

    public void setBeginYear(String beginYear)
    {
        this.beginYear = beginYear;
    }

    public String getEndYear()
    {
        return endYear;
    }

    public void setEndYear(String endYear)
    {
        this.endYear = endYear;
    }

    public String getPrice()
    {
        return price;
    }

    public void setPrice(String price)
    {
        this.price = price;
    }

    public Integer getResCategoryNum()
    {
        return ResCategoryNum;
    }

    public void setResCategoryNum(Integer resCategoryNum)
    {
        ResCategoryNum = resCategoryNum;
    }

    public String getOrderProductId()
    {
        return orderProductId;
    }

    public void setOrderProductId(String orderProductId)
    {
        this.orderProductId = orderProductId;
    }

    public String getOrderId()
    {
        return orderId;
    }

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    public String getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(String updateTime)
    {
        this.updateTime = updateTime;
    }

    public String getReserveEndDate()
    {
        return reserveEndDate;
    }

    public void setReserveEndDate(String reserveEndDate)
    {
        this.reserveEndDate = reserveEndDate;
    }
    

    @Override
    public int hashCode()
    {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((ResCategoryNum == null) ? 0 : ResCategoryNum.hashCode());
        result = prime * result + ((beginYear == null) ? 0 : beginYear.hashCode());
        result = prime * result + ((createTime == null) ? 0 : createTime.hashCode());
        result = prime * result + ((endYear == null) ? 0 : endYear.hashCode());
        result = prime * result + ((orderId == null) ? 0 : orderId.hashCode());
        result = prime * result + ((orderProductId == null) ? 0 : orderProductId.hashCode());
        result = prime * result + ((price == null) ? 0 : price.hashCode());
        result = prime * result + ((productId == null) ? 0 : productId.hashCode());
        result = prime * result + ((productName == null) ? 0 : productName.hashCode());
        result = prime * result + ((reserveEndDate == null) ? 0 : reserveEndDate.hashCode());
        result = prime * result + ((updateTime == null) ? 0 : updateTime.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) return true;
        if (obj == null) return false;
        if (getClass() != obj.getClass()) return false;
        OrderProductBugVo other = (OrderProductBugVo)obj;
        if (ResCategoryNum == null)
        {
            if (other.ResCategoryNum != null) return false;
        }
        else if (!ResCategoryNum.equals(other.ResCategoryNum)) return false;
        if (beginYear == null)
        {
            if (other.beginYear != null) return false;
        }
        else if (!beginYear.equals(other.beginYear)) return false;
        if (createTime == null)
        {
            if (other.createTime != null) return false;
        }
        else if (!createTime.equals(other.createTime)) return false;
        if (endYear == null)
        {
            if (other.endYear != null) return false;
        }
        else if (!endYear.equals(other.endYear)) return false;
        if (orderId == null)
        {
            if (other.orderId != null) return false;
        }
        else if (!orderId.equals(other.orderId)) return false;
        if (orderProductId == null)
        {
            if (other.orderProductId != null) return false;
        }
        else if (!orderProductId.equals(other.orderProductId)) return false;
        if (price == null)
        {
            if (other.price != null) return false;
        }
        else if (!price.equals(other.price)) return false;
        if (productId == null)
        {
            if (other.productId != null) return false;
        }
        else if (!productId.equals(other.productId)) return false;
        if (productName == null)
        {
            if (other.productName != null) return false;
        }
        else if (!productName.equals(other.productName)) return false;
        if (reserveEndDate == null)
        {
            if (other.reserveEndDate != null) return false;
        }
        else if (!reserveEndDate.equals(other.reserveEndDate)) return false;
        if (updateTime == null)
        {
            if (other.updateTime != null) return false;
        }
        else if (!updateTime.equals(other.updateTime)) return false;
        return true;
    }

    public OrderProductBugVo()
    {
        super();
    }

    public OrderProductBugVo(String orderProductId, String orderId, String productId,
                             String productName, String beginYear, String endYear,
                             String reserveEndDate, String price, Integer resCategoryNum,
                             String createTime, String updateTime)
    {
        super();
        this.orderProductId = orderProductId;
        this.orderId = orderId;
        this.productId = productId;
        this.productName = productName;
        this.beginYear = beginYear;
        this.endYear = endYear;
        this.reserveEndDate = reserveEndDate;
        this.price = price;
        ResCategoryNum = resCategoryNum;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    @Override
    public String toString()
    {
        return "OrderProductBugVo [orderProductId=" + orderProductId + ", orderId=" + orderId
               + ", productId=" + productId + ", productName=" + productName + ", beginYear="
               + beginYear + ", endYear=" + endYear + ", reserveEndDate=" + reserveEndDate
               + ", price=" + price + ", ResCategoryNum=" + ResCategoryNum + ", createTime="
               + createTime + ", updateTime=" + updateTime + "]";
    }
}